From 0a6d61b1a0785d5a8f1de2c8bc4b87975077d947 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Sat, 14 Jan 2006 10:25:34 +0000 Subject: [PATCH] remove cruft (all these names are resolved in buildSidebar) --- includes/SkinTemplate.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 37acb78953..8f1711c96f 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -764,15 +764,6 @@ class SkinTemplate extends Skin { $diff = $wgRequest->getVal( 'diff' ); $nav_urls = array(); - $nav_urls['mainpage'] = array('href' => $this->makeI18nUrl('mainpage')); - $nav_urls['randompage'] = array('href' => $this->makeSpecialUrl('Random')); - $nav_urls['recentchanges'] = array('href' => $this->makeSpecialUrl('Recentchanges')); - $nav_urls['currentevents'] = (wfMsgForContent('currentevents') != '-') ? array('href' => $this->makeI18nUrl('currentevents')) : false; - $nav_urls['portal'] = (wfMsgForContent('portal') != '-') ? array('href' => $this->makeI18nUrl('portal-url')) : false; - $nav_urls['bugreports'] = array('href' => $this->makeI18nUrl('bugreportspage')); - // $nav_urls['sitesupport'] = array('href' => $this->makeI18nUrl('sitesupportpage')); - $nav_urls['sitesupport'] = array('href' => $wgSiteSupportPage); - $nav_urls['help'] = array('href' => $this->makeI18nUrl('helppage')); if( $wgEnableUploads ) { if ($wgUploadNavigationUrl) { $nav_urls['upload'] = array('href' => $wgUploadNavigationUrl ); -- 2.20.1